#include "travellimitsform.h"
#include "ui_travellimitsform.h"
#include <QPainter>
#include <QStyleOption>

TravelLimitsForm::TravelLimitsForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::TravelLimitsForm)
{
    ui->setupUi(this);
}

TravelLimitsForm::~TravelLimitsForm()
{
    delete ui;
}

void TravelLimitsForm::paintEvent(QPaintEvent *event)
{
    QStyleOption opt;
    opt.init(this);
    QPainter painter(this);
    style()->drawPrimitive(QStyle::PE_Widget,&opt,&painter,this);
    QWidget::paintEvent(event);
}
